home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Info-Mac 4
/
Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso
/
Science
/
RLaB
/
rlib
/
tanh.r
< prev
next >
Wrap
Text File
|
1994-04-25
|
309b
|
15 lines
//-------------------------------------------------------------------//
// Syntax: tanh ( X )
// Description:
// Tanh is the hyperbolic tangent of the element(s) of X.
//-------------------------------------------------------------------//
tanh = function ( x )
{
return (sinh (x) ./ cosh (x));
};